.class public final Lcom/burstly/lib/currency/AccountInfo;
.super Ljava/lang/Object;
.source "AccountInfo.java"


# instance fields
.field private final mPubId:Ljava/lang/String;

.field private final mUserId:Ljava/lang/String;


# direct methods
.method public constructor <init>(Ljava/lang/String;)V
    .locals 1
    .parameter "pubId"

    .prologue
    .line 54
    invoke-static {}, Lcom/burstly/lib/util/Utils;->getDeviceId()Ljava/lang/String;

    move-result-object v0

    invoke-direct {p0, p1, v0}, Lcom/burstly/lib/currency/AccountInfo;-><init>(Ljava/lang/String;Ljava/lang/String;)V

    .line 55
    return-void
.end method

.method public constructor <init>(Ljava/lang/String;Ljava/lang/String;)V
    .locals 0
    .parameter "pubId"
    .parameter "userId"

    .prologue
    .line 43
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    .line 44
    iput-object p1, p0, Lcom/burstly/lib/currency/AccountInfo;->mPubId:Ljava/lang/String;

    .line 45
    iput-object p2, p0, Lcom/burstly/lib/currency/AccountInfo;->mUserId:Ljava/lang/String;

    .line 46
    return-void
.end method


# virtual methods
.method public equals(Ljava/lang/Object;)Z
    .locals 5
    .parameter "obj"

    .prologue
    const/4 v1, 0x1

    const/4 v2, 0x0

    .line 86
    if-ne p0, p1, :cond_1

    .line 110
    :cond_0
    :goto_0
    return v1

    .line 89
    :cond_1
    if-nez p1, :cond_2

    move v1, v2

    .line 90
    goto :goto_0

    .line 92
    :cond_2
    invoke-virtual {p0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;

    move-result-object v3

    invoke-virtual {p1}, Ljava/lang/Object;->getClass()Ljava/lang/Class;

    move-result-object v4

    if-eq v3, v4, :cond_3

    move v1, v2

    .line 93
    goto :goto_0

    :cond_3
    move-object v0, p1

    .line 95
    check-cast v0, Lcom/burstly/lib/currency/AccountInfo;

    .line 96
    .local v0, other:Lcom/burstly/lib/currency/AccountInfo;
    iget-object v3, p0, Lcom/burstly/lib/currency/AccountInfo;->mPubId:Ljava/lang/String;

    if-nez v3, :cond_4

    .line 97
    iget-object v3, v0, Lcom/burstly/lib/currency/AccountInfo;->mPubId:Ljava/lang/String;

    if-eqz v3, :cond_5

    move v1, v2

    .line 98
    goto :goto_0

    .line 100
    :cond_4
    iget-object v3, p0, Lcom/burstly/lib/currency/AccountInfo;->mPubId:Ljava/lang/String;

    iget-object v4, v0, Lcom/burstly/lib/currency/AccountInfo;->mPubId:Ljava/lang/String;

    invoke-virtual {v3, v4}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v3

    if-nez v3, :cond_5

    move v1, v2

    .line 101
    goto :goto_0

    .line 103
    :cond_5
    iget-object v3, p0, Lcom/burstly/lib/currency/AccountInfo;->mUserId:Ljava/lang/String;

    if-nez v3, :cond_6

    .line 104
    iget-object v3, v0, Lcom/burstly/lib/currency/AccountInfo;->mUserId:Ljava/lang/String;

    if-eqz v3, :cond_0

    move v1, v2

    .line 105
    goto :goto_0

    .line 107
    :cond_6
    iget-object v3, p0, Lcom/burstly/lib/currency/AccountInfo;->mUserId:Ljava/lang/String;

    iget-object v4, v0, Lcom/burstly/lib/currency/AccountInfo;->mUserId:Ljava/lang/String;

    invoke-virtual {v3, v4}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v3

    if-nez v3, :cond_0

    move v1, v2

    .line 108
    goto :goto_0
.end method

.method public getPubId()Ljava/lang/String;
    .locals 1

    .prologue
    .line 63
    iget-object v0, p0, Lcom/burstly/lib/currency/AccountInfo;->mPubId:Ljava/lang/String;

    return-object v0
.end method

.method public getUserId()Ljava/lang/String;
    .locals 1

    .prologue
    .line 72
    iget-object v0, p0, Lcom/burstly/lib/currency/AccountInfo;->mUserId:Ljava/lang/String;

    return-object v0
.end method

.method public hashCode()I
    .locals 5

    .prologue
    const/4 v3, 0x0

    .line 77
    const/16 v0, 0x1f

    .line 78
    .local v0, prime:I
    const/4 v1, 0x1

    .line 79
    .local v1, result:I
    iget-object v2, p0, Lcom/burstly/lib/currency/AccountInfo;->mPubId:Ljava/lang/String;

    if-nez v2, :cond_0

    move v2, v3

    :goto_0
    add-int/lit8 v1, v2, 0x1f

    .line 80
    mul-int/lit8 v2, v1, 0x1f

    iget-object v4, p0, Lcom/burstly/lib/currency/AccountInfo;->mUserId:Ljava/lang/String;

    if-nez v4, :cond_1

    :goto_1
    add-int v1, v2, v3

    .line 81
    return v1

    .line 79
    :cond_0
    iget-object v2, p0, Lcom/burstly/lib/currency/AccountInfo;->mPubId:Ljava/lang/String;

    invoke-virtual {v2}, Ljava/lang/String;->hashCode()I

    move-result v2

    goto :goto_0

    .line 80
    :cond_1
    iget-object v3, p0, Lcom/burstly/lib/currency/AccountInfo;->mUserId:Ljava/lang/String;

    invoke-virtual {v3}, Ljava/lang/String;->hashCode()I

    move-result v3

    goto :goto_1
.end method

.method public toString()Ljava/lang/String;
    .locals 2

    .prologue
    .line 115
    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    const-string v1, "AccountInfo [mPubId="

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    iget-object v1, p0, Lcom/burstly/lib/currency/AccountInfo;->mPubId:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string v1, ", mUserId="

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    iget-object v1, p0, Lcom/burstly/lib/currency/AccountInfo;->mUserId:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string v1, "]"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method
